﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Verse.Platform.Windows
{
    public abstract class TVirtualProcess
    {
        public TVirtualProcess(IModule Content) { }

        /*private int _processId = int.MinValue;
        private IModule _processContent = default(IModule);
        private DateTime _creationDate = DateTime.MinValue;
        private bool _isSleep = false;
        private int _handleBy = int.MinValue;
        private String _handleByStr = String.Empty;*/
        private bool _isSleep = false;
        public readonly int ProcessId;

        public readonly IModule ProcessContent;
        
        public readonly DateTime CreationDate;

        public readonly int HandleBy;

        public readonly String HandleByStr;

        public bool IsSleep { get{return _isSleep;} }

        public abstract void Sleep();

        public abstract void Wake();

    }
}
